#pragma once
#include <iostream>
#include "Windows.h"

using namespace std;

const uint64_t count_100_ns_day = (uint64_t)24*60*60*1000*10000;

class TimeConverter
{
public:
	static uint64_t time_diff_history;

	static std::wstring FileTime_to_wstring(uint64_t ts);
	static double FileTime_to_OLE_Time(uint64_t ts);
	static uint64_t OLE_Time_to_FileTime(double oleTime);

private:
	static uint64_t FileTime_LTC_to_UTC(uint64_t TsLTC);
};